
#ifndef _CORE_BOARD_CONFIG_H_
#define _CORE_BOARD_CONFIG_H_

#include "clock_config.h"
#include "fsl_reset.h"
#include "fsl_power.h"

#include "fsl_iocon.h"
#include "fsl_inputmux.h"

#include "fsl_i2c.h"
#include "fsl_i2s.h"
#include "fsl_usart.h"
#include "fsl_spi.h"
#include "zf_utick.h"
#include "zf_gpio.h"

#ifndef RT_THREAD
#ifndef CPU_LPC55S69JBD100_cm33_core1
#include "fsl_debug_console.h"
#endif
#else
#include <rthw.h>
#include <rtthread.h>
#endif

#ifdef MCMGR_HANDLE_EXCEPTIONS
#include "mcmgr.h"
#endif

typedef enum
{
	CLOCKFRO12M								= 0,
	CLOCKFROHF96M							= 1,
	CLOCKPLL100M							= 2,
	CLOCKPLL150M							= 3,
}system_clock_list;

typedef enum
{
	DISABLE_DEBUG							= false,
	ENABLE_DEBUG							= true,
}debug_set_list;

void system_init (system_clock_list Clock, debug_set_list debug_en);

#endif
